package com.chixing.day03_oop.work;

/**
 * 1. 设计商品类Product ，有属性：商品id,商品名称，商品价格，商品产地
 */
public class Product {
    private Integer productId;
    private String productName;
    private Integer productPrice;
    private String productAddress;

    public Product() {
    }

    /**
     *  * 2. 商品类的属性 添加赋值与取值（set、get）方法
     */
    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(Integer productPrice) {
        this.productPrice = productPrice;
    }

    public String getProductAddress() {
        return productAddress;
    }

    public void setProductAddress(String productAddress) {
        this.productAddress = productAddress;
    }
}
